package com.yj.web.WeChat.Base;

/**
 * Created by yanlinyang on 2017/4/18.
 */
public class WxException extends Exception {
    private long errcode;
    private String errmsg;
    public WxException(long errcode, String errmsg) {
        super(String.format("%d: %s", errcode, errmsg));
    }
    public WxException(String errmsg) {
        this(-1, errmsg);
    }
}
